﻿''' <summary>
''' VB code for the master page.
''' </summary>
''' <author>Rick Simpson, Feng Jiang, AJ Whatling</author>
Partial Class MasterPage
    Inherits System.Web.UI.MasterPage

    ''' <summary>
    ''' Hides the "Edit Library" link if the current user is not in
    ''' the "Librarian" role.
    ''' </summary>
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If (Not Page.User.IsInRole("Librarian")) Then
            Me.HyperLink5.Visible = False
        End If
    End Sub
End Class

